<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="selectParentMenuModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">
					<i class="mark"></i> 
					<span>选择上级菜单</span>
				</h4>
			</div>
			<div class="modal-body">
				<div class="table-responsive">
					<table id="parentMenuTable" 
						data-id-field="id" 
						data-side-pagination="server"
						data-row-style="rowStyle" 
						data-pagination="true"
						data-page-size="5" 
						data-query-params-type=""
						data-single-select="true"
						data-click-to-select="true"
						data-page-list="[5, 10, 20]">
						<thead>
							<tr>
								<th data-checkbox='true' />
								<th data-field="menuName">菜单名称</th>
								<th data-field="menuPath">Path</th>
							</tr>
						</thead>
					</table>
				</div>
			</div>
			<div class="modal-footer">
				<div class="modal-footer-button">
					<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
					<button type="submit" class="btn btn-sm btn-blue" ng-click="selectParentMenu()">确认</button>
				</div>
			</div>
		</div>
	</div>
</div>
